#include "http.hpp"



void test_split()
{
    // std::string src = "aaa,bbb,ccc,";
    std::string src = ",,,aaa,bbb,,,,,ccc,";
    std::vector<std::string> des;
    Util::Split(src,",",&des);
    for(auto &e : des)
    {
        std::cout<<e<<std::endl;
    }
}

void test_read_write()
{
    std::string out;
    Util::ReadFile("./test.cc",&out);
    //std::cout<<out<<std::endl;

    Util::WriteFile("./tmp.cc",out);

}

int main()
{
    //test_split();
    test_read_write();
    return 0;
}